﻿using Bot.Domain.Entities;
using Comm100.Framework.Domain.Specifications;
using System;
using System.Collections.Generic;
using System.Text;

namespace Bot.Domain.Specifications
{
    public class EntityKeywordFilterSpecification : BaseSpecification<EntityKeyword>
    {
        public EntityKeywordFilterSpecification(Guid entityId)
            : base(i => i.EntityId == entityId)
        {

        }
        public EntityKeywordFilterSpecification(List<Guid> entityIds)
           : base(i => entityIds.Contains(i.EntityId))
        {

        }
    }
}
